#pragma once

#include <vector>
using std::vector;

class CFrame;
#include "BaseObject.h"


class CAnimation
{
public:
	CAnimation(void);
	~CAnimation(void);

	void RenderAnimation( int nFrameIndex );
	void UndateAnimation( tAnimInfo& tAnimationInfo );

private:
	vector< CFrame* >		m_Frames;
	int						m_nMaxFrames;
	bool					m_bIsLooping;

	int						m_nImageID;
};

